﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Application.Admin.Push
{
    public interface IPushLogService
    {
        Domain.Entity.PushLog Add(Domain.Entity.PushLog add, Domain.Entity.User operUser);

        bool Delete(Domain.Entity.PushLog delete, Domain.Entity.User operUser);

        bool DeleteTrue(Domain.Entity.PushLog delete, Domain.Entity.User operUser);

        bool Delete(IList<int> idList, Domain.Entity.User operUser);

        bool DeleteTrue(IList<int> idList, Domain.Entity.User operUser);

        bool Modify(Domain.Entity.PushLog modify, Domain.Entity.User operUser);

        Domain.Entity.PushLog Get(int id);

        IQueryable<Domain.Entity.PushLog> GetList();

        IQueryable<Application.Admin.Dto.PushLogDto> GetPushLogDtoTrueState(int type = 0);
    }
}
